package com.jeeplus.test.jlnu.admissionInfo.mapper;

import com.jeeplus.sys.domain.Office;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AdmissionInfoApprovMapper {
    void updateApproveStateByIds(@Param("table_name") String tableName,
                                 @Param("state") String state,
                                 @Param("ids") List<String> ids);
    List<Office> getOfficeByUserId(@Param("user_id") String userId);
    List<String> selectAllChildDeptIds(@Param("deptId") String deptId);
    List<String> selectUsersByUserChildOffices(@Param("userId") String userId);
}
